package com.idata.model.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @File VertexEntity.Java
 * @Modify Time      @Author    @Version    @Description
 * ------------      -------    --------    -----------
 * 2023/9/21         yd.j      1.0         None
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class VertexEntity {
    private String type;
    private String id;
    private Player player;
    private Team team;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class Team {
        private String name;
    }

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class Player {
        private int age;
        private String name;
    }
}

